<div class="style myStyle1">

	<section class="allStyle">
		<h4>已定义的款式：</h4>
		<span class="label label-default" ng-repeat="style in top_Style" title="描述：{{style.description}}">{{style.name}}</span>
	</section>

	<section class="addStyle" ng-controller="addStyle">
		<h4>添加一种款式：</h4>
		<form class="form-inline">
			<div class="form-group">
				<label for="styleName">款式</label>
				<input type="text" class="form-control" id="styleName" placeholder="V领" ng-model=styleName>
			</div>
			<div class="form-group">
				<label for="styleDescription">描述</label>
				<input type="text" class="form-control" id="styleDescription" ng-model="styleDescription">
			</div>
			<button class="btn btn-default" ng-click="addStyle(); refresh_Style();">添 加</button>
		</form>
	</section>

	<section class="deleteStyle" ng-controller="deleteStyle">
		<h4>删除一种款式：</h4>
		<form class="form-inline">
			<div class="form-group">
				<label>款式</label>
				<select class="form-control" ng-model="styleId" ng-options="style.styleId as style.name for style in top_Style">
					<option value="">--请选择--</option>
				</select>
			</div>
			<button class="btn btn-default" ng-click="deleteStyle(); refresh_Style();">删 除</button>
		</form>
	</section>

	<section class="modifyStyle" ng-controller="modifyStyle">
		<h4>修改一种款式：</h4>
		<form class="form-inline">
			<div class="form-group">
				<label>款式</label>
				<select class="form-control" ng-model="styleId" ng-options="style.styleId as style.name for style in top_Style">
					<option value="">--请选择--</option>
				</select>
			</div>
			<div class="form-group">
				<label for="styleName2">款式</label>
				<input type="text" class="form-control" id="styleName2" placeholder="V领" ng-model=styleName>
			</div>
			<div class="form-group">
				<label for="styleDescription2">描述</label>
				<input type="text" class="form-control" id="styleDescription2" ng-model="styleDescription">
			</div>
			<button class="btn btn-default" ng-click="modifyStyle(); refresh_Style();">修 改</button>
		</form>
	</section>	

</div>
